package com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.repository;

import com.css.fxfzxczh.modules.fieldWorkManage.InvestigationGroupManage.entity.InvestigationTeam;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.entity.NoticeRange;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.entity.Team;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.param.NoticePageParam;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.param.NoticeSaveParam;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.vo.NoticeSaveParamVO;
import com.css.fxfzxczh.modules.fieldWorkManage.noticeManage.vo.TeamVO;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface NoticeRepository {
    Map<String, Object> getPage(NoticePageParam queParams, int curPage, int pageSize);

    List<String> findAllByXsemId(String xsemId);

    void saveAll(ArrayList<NoticeRange> all);

    List<String> queryLeaderTelByXsemId(String xsemId);

    List<String> queryMemberTelByXsemId(String xsemId);

    List<String> queryMemberTelById(String xitId);

    void save(NoticeSaveParam param);

    void deleteById(String id);

    void deleteRange(String id);

    void updateById(NoticeSaveParam param);

    NoticeSaveParamVO findById(String id);

    String getCode(String xsemId);

    String queryTelByName(String id,String xsemId);

    List<InvestigationTeam> getItemAll(String xsemId);

    void saveTeam(List<Team> teamList);

    void deleteTeam(String xnmId);

    List<TeamVO> queryTeam(String id);

    String getXsemCode(String xsemId);
}
